function [PQ, status] = PQ_Remove_Task(PQ, number)
%PQ_Remove_Task Summary of this function goes here
%   Detailed explanation goes here
status = 0;
if (number < 1) || (number > size(PQ.queue, 2))
  return;
end
PQ.queue = [PQ.queue(1:number-1) PQ.queue(number+1:size(PQ.queue, 2))];
status = 1;
end